package com.api.shopapi.service;

import com.api.shopapi.entity.ServeclassServe;
import com.github.pagehelper.PageInfo;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface ServeclassServeService {

    int insert(ServeclassServe serveclassServe);

    List<ServeclassServe> getList();

    int update(ServeclassServe serveclassServe);

    ServeclassServe getByServeclassName(String serveclassName);

    ServeclassServe getByServeName(String serveName);

    ServeclassServe getByServeclassServeCode(String serveclassServeCode);

    PageInfo<ServeclassServe> getPageList(int pageIndex, int pageSize, String serveclassName, String serveName);

}
